//接受报名时间判断并返回是否可报名
function noticeEnroll(activityTime) {
    let date = new Date(activityTime)//获取通告报名时间戳
    activityTime = date.getTime(date)

    let currentTime = new Date().getTime()//获取当前时间戳
    if(activityTime > currentTime){//可报名
        return 1
    }
    return 0
}

module.exports = {
    noticeEnroll
}